package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Region;
import cn.wolfcode.trip.base.domain.User;
import cn.wolfcode.trip.base.query.QueryObject;
import cn.wolfcode.trip.base.query.RegionQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IRegionService {

    List<Region> selectRegionByParentId(QueryObject qo);

    void saveOrUpdate(Region region);

    List<Region> list();

    void deleteById(Long id);

    PageInfo query(RegionQueryObject qo);
}
